<template>
	<view>
		<view class="smart-page-head">
			<view class="smart-page-head-title">navigator</view>
		</view>
		<view class="smart-padding-wrap">
			<navigator url="/pages/APIpages/NavigatePage/NavigatePage" hover-class="navigator-hover">
				<button type="default">跳转到新页面</button>
			</navigator>
			<navigator url="newpage/newpage?title=redirect" 
			           open-type="redirect"
			           hover-class="other-navigator-hover">
			  <button type="default">在当前页打开</button>
			</navigator>
			<navigator url="/pages/tabBar/api/api" 
			           open-type="switchTab"
			           hover-class="other-navigator-hover">
			  <button type="default">跳转tab页面</button>
			</navigator>
			<navigator url="/pages/APIpages/RefreshPage/RefreshPage"
			           open-type="redirect"
			           hover-class="other-navigator-hover">
			  <button type="default">页面刷新</button>
			</navigator>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title:'navigator',
			}
			// onLoad() {
			// 	console.info("导航页面 onLoad 监听页面加载");
			// },
			// onReady() {
			// 	console.debug("导航页 onReady 监听页面初次渲染完成");
			// },
			// onShow() {
			// 	console.log("导航页 onShow 页面显示");
			// },
			// onHide() {
			// 	console.log("导航页 onHide 页面隐藏");
			// },
			// onUnload() {
			// 	console.error("导航页 onUnload 监听页面卸载");
			// },
			// onPullDownRefresh() {
			// 	console.warn("导航页 onPullDownRefresh 下拉刷新");
			// },
			// onReachBottom() {
			// 	console.warn("导航页 onReachBottom 到底了");
			// }
			
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
